﻿@model EWText
<div class="easyweb-ewtext">
    <table class="ui-widget ui-helper-reset easyweb-ewsimple">
        <thead class="ui-helper-reset ui-widget-content">
            <tr>
                <th style="width: 3em;">@EWWebResources.EWText_GridTitle_Lcid</th>
                <th style="width: 10em;">@EWWebResources.EWText_GridTitle_Name</th>
                <th style="width: 10em;">@EWWebResources.EWText_GridTitle_NativeName</th>
                <th style="width: 20em;">@EWWebResources.EWText_GridTitle_EnglishName</th>
                <th>@EWWebResources.EWText_GridTitle_LocalizedText</th>
            </tr>
        </thead>
        <tbody class="ui-helper-reset ui-widget-content">
            @{
                foreach (var item in Model.Values.OrderBy(m => m.Name))
                {
                    var culture = CultureInfo.GetCultureInfo(item.Name);
                <tr>
                    <td style="width: 3em;">@culture.LCID</td>
                    <td style="width: 10em;">@culture.Name</td>
                    <td style="width: 10em;">@culture.NativeName</td>
                    <td style="width: 20em;">@culture.DisplayName</td>
                    <td><pre>@item.Text</pre></td>
                </tr>
                }
            }
        </tbody>
    </table>
</div>
